﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DAL
{
    public struct DataStruct
    {
        public string columnName;
        public SqlDbType dataType;
        public Object value;

        public DataStruct(string name)
        {
            this.columnName = name;
            this.dataType = SqlDbType.NVarChar;
            this.value = null;
        }

        public DataStruct(string name, Object value)
        {
            this.columnName = name;
            this.dataType = SqlDbType.NVarChar;
            this.value = value;
        }

        public DataStruct(string name,SqlDbType type, Object value)
        {
            this.columnName = name;
            this.dataType = type;
            this.value = value;
        }
    }
}
